/**
 * @Author yinyunqi
 * @date 2018年2月7日
 * @Content 
 */
package com.yongqi.service.back;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yongqi.mapper.back.TaskMapper;
import com.yongqi.model.back.Task;

@Service
public class TimerTaskService {
    @Autowired
    TaskMapper taskMapper;
    /**
     * 后台-定时任务查询
     * @param map
     * @return
     */
    public List<Task> backTimerTaskQuery(Map<String, String> map) {
	
	return taskMapper.backTimerTaskQuery(map);
    }
    /**
     * 后台-定时任务修改
     * @param map
     * @return
     */
    public void backTimerTaskEdit(Map<String, String> map) {
	taskMapper.backTimerTaskEdit(map);
    }
    /**
     * 后台-定时任务根据ID查询
     * @param map
     * @return
     */
    public List<Task> backTimerTaskQueryById(Map<String, String> map) {
	
	return taskMapper.backTimerTaskQueryById(map);
    }
}

